cmake_minimum_required(VERSION 3.4.1)
project(imagepipeline)
set(TOP_DIR ${CMAKE_CURRENT_LIST_DIR}/../)

add_subdirectory(${TOP_DIR}/bitmaps bitmaps.out)
add_subdirectory(${TOP_DIR}/memchunk memchunk.out)

add_library(imagepipeline SHARED exceptions.cpp init.cpp )

target_link_libraries(${PROJECT_NAME} PRIVATE hilog_ndk.z)
target_link_libraries(${PROJECT_NAME} PRIVATE Bitmaps)
target_link_libraries(${PROJECT_NAME} PRIVATE memchunk)

target_include_directories(${PROJECT_NAME} PRIVATE ${TOP_DIR}/bitmaps)
target_include_directories(${PROJECT_NAME} PRIVATE ${TOP_DIR}/memchunk)
